import {
  isPC
} from 'tools/utils.js'
export const WEB_SERGVER = process.env.NODE_ENV === 'production' ? '123.207.227.41' : location.hostname; //业务服务器地址
export const VIDEO_SERVER = "http://v.godd.site";
// export const BASEURL = `/live/`;
export const BASEURL = `//${WEB_SERGVER}:${location.port}/live/`;
export const END_POINT = process.env.NODE_ENV === 'production' ? `//${WEB_SERGVER}:9090/live/endpointSang` : `${BASEURL}endpointSang`;


const picSize = isPC() ? '_128x128' : '_48x48';
// 静态图片的CDN资源
export const STATIC_PIC_PTH = {
  redPacket: 'http://p2ebqp10o.bkt.clouddn.com/redPack.svg',
  gift: 'http://p2ebqp10o.bkt.clouddn.com/gift.svg',
  choujiang: 'http://p2ebqp10o.bkt.clouddn.com/choujiang.svg',
  live: 'http://p2ebqp10o.bkt.clouddn.com/live.svg',
  send: 'http://p2ebqp10o.bkt.clouddn.com/send.png',
  
  NO1: 'http://p2ebqp10o.bkt.clouddn.com/NO1.png',
  NO2: 'http://p2ebqp10o.bkt.clouddn.com/NO2.png',
  NO3: 'http://p2ebqp10o.bkt.clouddn.com/NO3.png',
}
